package de.bbl.android.classes;

import java.util.ArrayList;

public class CompletePlaydays {
	private PlayDay[] leagueGames;
	private PlayDay[] playoffQuarterFinal;
	private PlayDay[] playoffSemiFinal;
	private PlayDay[] playoffFinal;
	private ArrayList<String> competitionStrings;
	
	public CompletePlaydays() {
		setLeagueGames(new PlayDay[0]);
		setPlayoffQuarterFinal(new PlayDay[0]);
		setPlayoffSemiFinal(new PlayDay[0]);
		setPlayoffFinal(new PlayDay[0]);
		competitionStrings = new ArrayList<String>();
	}

	public PlayDay[] getLeagueGames() {
		return leagueGames;
	}

	public void setLeagueGames(PlayDay[] leagueGames) {
		this.leagueGames = leagueGames;
	}

	public PlayDay[] getPlayoffQuarterFinal() {
		return playoffQuarterFinal;
	}

	public void setPlayoffQuarterFinal(PlayDay[] playoffQuarterFinal) {
		this.playoffQuarterFinal = playoffQuarterFinal;
	}

	public PlayDay[] getPlayoffSemiFinal() {
		return playoffSemiFinal;
	}

	public void setPlayoffSemiFinal(PlayDay[] playoffSemiFinal) {
		this.playoffSemiFinal = playoffSemiFinal;
	}

	public PlayDay[] getPlayoffFinal() {
		return playoffFinal;
	}

	public void setPlayoffFinal(PlayDay[] playoffFinal) {
		this.playoffFinal = playoffFinal;
	}
	
	public void addCompString(String s) {
		competitionStrings.add(s);
	}
	
	public String getCompString(int index) {
		if (index > 0 && index < competitionStrings.size()) {
			return competitionStrings.get(index);
		}
		return "";
	}
}
